package com.kt.domain;

import java.io.Serializable;

public class Product implements Serializable {
    private Integer pid;
    private String pname;
    private Double price;
    private String picture;
    private String desc;
    private String brand;
    private Integer cid;
    private Integer uid;

    public Product() {
    }

    public Product(Integer pid, String pname, Double price, String picture, String desc, String brand, Integer cid, Integer uid) {
        this.pid = pid;
        this.pname = pname;
        this.price = price;
        this.picture = picture;
        this.desc = desc;
        this.brand = brand;
        this.cid = cid;
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", price=" + price +
                ", picture='" + picture + '\'' +
                ", desc='" + desc + '\'' +
                ", brand='" + brand + '\'' +
                ", cid=" + cid +
                ", uid=" + uid +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}
